The cursor should be hidden if it is part of either the source or
authorAlexander Larsson <alla@lysator.liu.se>
Tue, 28 Nov 2000 16:39:55 +0000 (16:39 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 28 Nov 2000 16:39:55 +0000 (16:39 +0000)
2000-11-28  Alexander Larsson  <alla@lysator.liu.se>

* gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
The cursor should be hidden if it is part of either the
source or destination region. Not only if it is in both.
(gdk_window_set_transient_for): Silence warnings.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/linux-fb/gdkwindow-fb.c

index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 9c7b93e2f3695115240def5269e80b20e5b667c9..f15f0f2892e484a108119faf4874eb441a3ef9b1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-28  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       The cursor should be hidden if it is part of either the
+       source or destination region. Not only if it is in both.
+       (gdk_window_set_transient_for): Silence warnings.
+
 2000-11-28  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/linux-fb/mifillarc.c (miFillArcSliceSetup):
index 30e822566c28d97cf8d437d950ba6ab5139ce0e0..05a902f1dd135de03f60c2e9621730df0b4b0929 100644 (file)
@@ -869,7 +869,8 @@ gdk_fb_window_move_resize (GdkWindow *window,
                {
                  GdkFBDrawingContext fbdc;
 
-                 if (gdk_fb_cursor_region_need_hide (region))
+                 if (gdk_fb_cursor_region_need_hide (old_region) ||
+                     gdk_fb_cursor_region_need_hide (new_region))
                    {
                      gdk_fb_cursor_hide ();
                      handle_cursor = TRUE;
@@ -1160,8 +1161,8 @@ gdk_window_set_transient_for (GdkWindow *window,
   g_return_if_fail (parent != NULL);
   g_return_if_fail (GDK_IS_WINDOW (parent));
   
-  g_return_if_fail (private->parent == gdk_parent_root);
-  g_return_if_fail (GDK_WINDOW_OBJECT (parent)->parent == gdk_parent_root);
+  g_return_if_fail ((GdkWindow *)private->parent == gdk_parent_root);
+  g_return_if_fail ((GdkWindow *)GDK_WINDOW_OBJECT (parent)->parent == gdk_parent_root);
   
   root->children = g_list_remove (root->children, window);